package com.example.administrator.myapplication;

import javax.inject.Inject;

/**
 * Created by Administrator on 2017/6/6.
 */

public class CoffeeMachine {

    private CoffeeMaker marker;

    @Inject
    public CoffeeMachine(){
    }

    public String makeCoffee(){

        if (marker != null) {
            return marker.makeCoffee();
        }
        return "CoffeeMachine.makeCoffee";
    }
}
